
<h2>设备列表</h2>
<div class="list">
<ul>
<?php
foreach($devlist as $k=>$dev):
     $style = ($k%2)?" class='odd'": " class='even'";     
   ?>
<li <?=$style?> id="item-<?=$dev?>">
     设备号码:
     <?=$dev?>

<input type="button" onclick="dev_mobile(<?=$dev?>)" value="电话列表">
 <!-- <input type="button" value="绑定新号码" showoption="control:new-mobile;width:220;height:120;title:绑定新号码"/> -->
<input type="button" value="绑定新号码" onclick="add_mobile(<?=$dev?>)">
     </li>
<?php
   endforeach;
   ?>
</ul>
</div>
<div class="result" id="dev-mobile"></div>

    <div id="new-mobile" style="display:none">
        <table style="width: 200px">
            <tr>
                <td >
                    请要绑定的电话号码:</td>
            </tr>
            <tr>
                <td >
                <input type="text" style="width:100%" />
                </td>
            </tr>
            <tr>
                <td  align="right">
                <input id="Button7" onclick="CloseMessageBox()" type="button" value="确定" />
                </td>
            </tr>
        </table>
    </div>     
